package com.gitee.shop.service;

import com.gitee.shop.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    int insert(User record);

    List<User> selectAll();

    void deleteByPrimaryKey(Integer uid);

    void updateByPrimaryKey(User user);

    User selectByPrimaryKey(Integer uid);

    User loginUser(String username, String password);
}
